/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const deal = {
  path: '/deal',
  component: Layout,
  redirect: '/deal/index',
  name: 'deal',
  meta: {
    title: '数据处理',
    icon: 'tree-table'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/deal/index/index'),
      name: 'dealIndex',
      meta: { title: '数据备份' }
    },
    {
      path: 'pretreatment',
      component: () => import('@/views/deal/pretreatment/index'),
      name: 'dealPretreatment',
      meta: { title: '数据预处理' }
    },
    {
      path: 'output',
      component: () => import('@/views/deal/output/index'),
      name: 'dealOutput',
      meta: { title: '数据输出' }
    }
  ]
}
export default deal
